package cn.mumzone.pos.presenter.contract;

import java.util.List;

import cn.mumzone.basic.mvp.BasePresenter;
import cn.mumzone.basic.mvp.BaseView;
import cn.mumzone.pos.model.GoodsEntity;
import cn.mumzone.pos.model.MemberEntity;

/**
 * Created by JoeLjt on 2019/6/27.
 * Email: lijiateng1219@gmail.com
 * Description:
 */

public interface CashGoodsContract {

    interface View extends BaseView {

        void showSearchGoodsList(List<GoodsEntity> list, boolean isRefresh);

        void showAddGoodsSuccess(boolean isModify);

        void showClearCart();

        void onGoodsAmountChanged(List<GoodsEntity> cartList);

        void showSearchMemberSuccess(MemberEntity memberEntity);

        void showAddMemberSuccess(MemberEntity entity);

        void showSettleSuccess();

        void showSearchGoodsError(String msg);
    }

    interface Presenter extends BasePresenter<CashGoodsContract.View> {}

}
